
<link rel="stylesheet"
	href="<%= request.getContextPath() %>/css/lavalamp_test.css"
	type="text/css" media="screen">
<script type="text/javascript"
	src="<%= request.getContextPath() %>/js/jquery-1.1.3.1.min.js"></script>
<script type="text/javascript"
	src="<%= request.getContextPath() %>/js/jquery.easing.min.js"></script>
<script type="text/javascript"
	src="<%= request.getContextPath() %>/js/jquery.lavalamp.min.js"></script>
<script src="<%= request.getContextPath() %>/js/jquery.tabs.pack.js"
	type="text/javascript"></script>
<script type="text/javascript">
            $(function() {

                $('#container-5').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'fast' });

	            $("#1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11").lavaLamp({
                fx: "backout",
                speed: 700,
                click: function(event, menuItem) {
                    return false;
                }
            });


            });
        </script>

<link rel="stylesheet"
	href="<%= request.getContextPath() %>/css/jquery.tabs.css"
	type="text/css" media="print, projection, screen">
<!-- Additional IE/Win specific style sheet (Conditional Comments) -->
<!--[if lte IE 7]>
        <link rel="stylesheet" href="<%= request.getContextPath() %>/css/jquery.tabs-ie.css" type="text/css" media="projection, screen">
        <![endif]-->

<div id="container-5">
<ul>
	<logic:equal name="USER_ROLE" scope="session" value="ADMIN">
		<li><a href="#fragment-1"><span>Roles</span></a></li>
	</logic:equal>
	<logic:equal name="USER_ROLE" scope="session" value="ADMIN">
		<li><a href="#fragment-2"><span>Perfiles</span></a></li>
	</logic:equal>
	<logic:equal name="USER_ROLE" scope="session" value="ADMIN">
		<li><a href="#fragment-9"><span>Personas</span></a></li>
	</logic:equal>
	<li><a href="#fragment-3"><span>Usuarios</span></a></li>
	<logic:equal name="USER_ROLE" scope="session" value="SITE_ADMIN">
		<li><a href="#fragment-4"><span>Templates</span></a></li>
	</logic:equal>
	<logic:equal name="USER_ROLE" scope="session" value="ADMIN">
		<li><a href="#fragment-5"><span>Grupos de Noticias</span></a></li>
	</logic:equal>
	<logic:equal name="USER_ROLE" scope="session" value="SITE_ADMIN">
		<li><a href="#fragment-6"><span>Plantillas</span></a></li>
	</logic:equal>
	<logic:equal name="USER_ROLE" scope="session" value="SITE_ADMIN">
		<li><a href="#fragment-7"><span>Hojas de Estilo</span></a></li>
	</logic:equal>
	<logic:equal name="USER_ROLE" scope="session" value="ADMIN">
		<li><a href="#fragment-8"><span>Membres&iacute;as</span></a></li>
	</logic:equal>
	<logic:equal name="USER_ROLE" scope="session" value="SITE_ADMIN">
		<li><a href="#fragment-10"><span>Sitios</span></a></li>
	</logic:equal>
	<logic:equal name="USER_ROLE" scope="session" value="SITE_ADMIN">
		<li><a href="#fragment-11"><span>P&aacute;ginas</span></a></li>
	</logic:equal>
</ul>
<logic:equal name="USER_ROLE" scope="session" value="ADMIN">
	<div id="fragment-1">
	<ul class="lavaLampNoImage" id="1">
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/roleEdit.do?do=addRole'"><span>Nuevo</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/roleList.do'"><span>Lista</span></a></li>
	</ul>
	</div>
</logic:equal> <logic:equal name="USER_ROLE" scope="session" value="ADMIN">
	<div id="fragment-2">
	<ul class="lavaLampNoImage" id="2">
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/profileEdit.do?do=addProfile'"><span>Nuevo</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/profileList.do'"><span>Lista</span></a></li>
	</ul>
	</div>
</logic:equal> <logic:equal name="USER_ROLE" scope="session" value="ADMIN">
	<div id="fragment-9">
	<ul class="lavaLampNoImage" id="9">
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/personEdit.do?do=addPerson'"><span>Nuevo</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/personList.do'"><span>Lista</span></a></li>
	</ul>
	</div>
</logic:equal>
<div id="fragment-3">
<ul class="lavaLampNoImage" id="3">
	<logic:equal name="USER_ROLE" scope="session" value="ADMIN">
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/userEdit.do?do=addUser'"><span>Nuevo</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/userList.do'"><span>Lista</span></a></li>
	</logic:equal>
	<logic:notEqual name="USER_ROLE" scope="session" value="ADMIN">
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/postList.do'"><span>Ver
		Posts</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/postEdit.do?do=addPost'"><span>Escribir
		un Post</span></a></li>
	</logic:notEqual>
</ul>
</div>
<logic:equal name="USER_ROLE" scope="session" value="SITE_ADMIN">
	<div id="fragment-4">
	<ul class="lavaLampNoImage" id="4">
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/simpleTemplateList.do'"><span>Simples</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/compositeTemplateList.do'"><span>Compuestos</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/asignTemplateList.do'"><span>Asignados</span></a></li>
	</ul>
	</div>
</logic:equal> <logic:equal name="USER_ROLE" scope="session" value="ADMIN">
	<div id="fragment-5">
	<ul class="lavaLampNoImage" id="5">
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/newsGroupEdit.do?do=addNewsGroup'"><span>Nuevo</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/newsGroupList.do'"><span>Lista</span></a></li>
	</ul>
	</div>
</logic:equal> <logic:equal name="USER_ROLE" scope="session" value="SITE_ADMIN">
	<div id="fragment-6">
	<ul class="lavaLampNoImage" id="6">
		<li><a href="#"><span>Importar</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"><span>Lista</span></a></li>
	</ul>
	</div>
</logic:equal> <logic:equal name="USER_ROLE" scope="session" value="SITE_ADMIN">
	<div id="fragment-7">
	<ul class="lavaLampNoImage" id="7">
		<li><a href="#"><span>Importar</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"><span>Lista</span></a></li>
	</ul>
	</div>
</logic:equal> <logic:equal name="USER_ROLE" scope="session" value="ADMIN">
	<div id="fragment-8">
	<ul class="lavaLampNoImage" id="8">
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/memberEdit.do?do=addMember'"><span>Nuevo</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/memberList.do'"><span>Lista</span></a></li>
	</ul>
	</div>
</logic:equal> <logic:equal name="USER_ROLE" scope="session" value="SITE_ADMIN">
	<div id="fragment-10">
	<ul class="lavaLampNoImage" id="10">
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/webSiteEdit.do?do=addWebSite'"><span>Nuevo</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/webSiteList.do'"><span>Lista</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"><span>Generar</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/publishSite.do'"><span>Publicar</span></a></li>
	</ul>
	</div>
</logic:equal> <logic:equal name="USER_ROLE" scope="session" value="SITE_ADMIN">
	<div id="fragment-11">
	<ul class="lavaLampNoImage" id="11">
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/sitePageEdit.do?do=addSitePage'"><span>Nueva</span></a></li>
		<li><a href="#"><span>|</span></a></li>
		<li><a href="#"
			onclick="window.location.href='<%= request.getContextPath() %>/sitePageList.do'"><span>Lista</span></a></li>
	</ul>
	</div>
</logic:equal></div>

